package com.xxl.job.core.commons.vo.plugin;

import com.xxl.job.core.commons.base.BaseQueryVo;
import com.xxl.job.core.config.ParameterConfig;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

/**
 * @author xuyue
 * @date 2021-4-26 16:03
 */
@Data
public class PluginQueryVo extends BaseQueryVo {

    @Length(max = ParameterConfig.PLUGIN_NAME_MAX_LENGTH, message = "解析器名称最大长度为" + ParameterConfig.PLUGIN_NAME_MAX_LENGTH)
    private String name;
    @Length(max = ParameterConfig.PLUGIN_FILE_NAME_MAX_LENGTH, message = "解析器文件名称最大长度为" + ParameterConfig.PLUGIN_FILE_NAME_MAX_LENGTH)
    private String fileName;
    private String type;
}
